package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 准备金明细表-任务
 * </p>
 *
 * @author Generator
 * @since 2024-12-25
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_claim_reserve_detail_task")
@ApiModel(value = "CgnciClaimReserveDetailTaskDO对象", description = "准备金明细表-任务")
public class CgnciClaimReserveDetailTaskDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("明细ID")
    @TableId(value = "detail_id", type = IdType.AUTO)
    private Long detailId;

    @ApiModelProperty("任务号")
    private String taskNo;

    @ApiModelProperty("准备金ID")
    private Long reserveId;

    @ApiModelProperty("险种")
    private String riskType;

    @ApiModelProperty("险种名称")
    private String riskTypeName;

    @ApiModelProperty("结算币种")
    private String settlementCurrency;


    @ApiModelProperty("调整前准备金(结算币种)")
    private BigDecimal beforeSettlementReserve;

    @ApiModelProperty("调整准备金(结算币种)")
    private BigDecimal settlementReserve;

    @ApiModelProperty("调整后准备金(结算币种)")
    private BigDecimal afterSettlementReserve;


    @ApiModelProperty("已批准准备金(结算币种)")
    private BigDecimal approvedReserve;

    @ApiModelProperty("最新调整准备金(结算币种)")
    private BigDecimal adjustReserve;

    @ApiModelProperty("最新调整后准备金(结算币种)")
    private BigDecimal afterAdjustReserve;

    @ApiModelProperty("原始币种")
    private String originalCurrency;


    @ApiModelProperty("调整前准备金(原始币种)")
    private BigDecimal beforeOriginalReserve;

    @ApiModelProperty("调整准备金(原始币种)")
    private BigDecimal originalReserve;

    @ApiModelProperty("调整后准备金(原始币种)")
    private BigDecimal afterOriginalReserve;


    @ApiModelProperty("已批准准备金(原始币种)")
    private BigDecimal approvedReserveOriginal;

    @ApiModelProperty("最新调整准备金(原始币种)")
    private BigDecimal adjustReserveOriginal;

    @ApiModelProperty("最新调整后准备金(原始币种)")
    private BigDecimal afterAdjustReserveOriginal;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("更新时间")
    @TableField(update = "now()")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updater;


}
